package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.MedicamentBean;


/**
 * 药剂
 */
public interface MedicamentService extends IService<MedicamentBean>{


    /**
     * 分页显示
     * @param pageNO
     * @param pageSize
     * @return
     */
    IPage<MedicamentBean> findAllMedicament(int pageNO, int pageSize);


    /**
     * 添加
     * @param medicamentBean
     */
    void addMedicament(MedicamentBean medicamentBean);


    /**
     * 药剂名药剂类型药剂类别模糊查询
     * @param pageNO
     * @param pageSize
     * @param medicamentName
     * @param medicamentType
     * @param medicamentCategory
     * @return
     */
    IPage<MedicamentBean> findName(int pageNO,int pageSize ,String medicamentName,String medicamentType,String medicamentCategory);

}
